﻿using Crm.Infrastructure.Dto.Response.Dictionary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CRM.Infrastructure.Dto.Response.Dictionary
{
        /// <summary>
        /// 字典类别
        /// </summary>
        public class Dictionary_Type_Response_Dto
        {
            /// <summary>
            /// 
            /// </summary>
            public string? id { get; set; }
            /// <summary>
            /// 类别名称
            /// </summary>
            public string? name { get; set; }
        public decimal? discount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? key { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string? value { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string? time { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string? author { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string? explain { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string? update_author { get; set; }

            /// <summary>
            /// 子级的数量(数量=0才可以删除)
            /// </summary>
            public int? count { get; set; }

            /// <summary>
            /// 子级
            /// </summary>
            public IEnumerable<Dictionary_Response_Dto?>? children { get; set; }


        }
    }
